package string;

import java.util.Scanner;

public class EqualDemo {
    public static void main(String[] args) {
        String a="我是我";
        String b="我是我";
        System.out.println(a.equals(b));

        Scanner scan=new Scanner(System.in);
        String input=scan.nextLine();
        if (input.toLowerCase().equals("yes")){
        //if (input.equalsIgnoreCase("yes"))
            System.out.println("输入正确");
        }else {
            System.out.println("输入错误");
        }
    }
}
